package com.hy.erp.inventory.service.interfaces;

import java.util.List ;

import javax.ejb.Local ;

import com.hy.enterprise.framework.service.business.IBusinessService;
import com.hy.erp.inventory.extjs.gxt.ui.client.data.BaseModel;
import com.hy.erp.inventory.pojo.Supplier;
import com.hy.erp.inventory.pojo.interfaces.IProductCharacteristic;
import com.hy.erp.inventory.pojo.interfaces.ISupplier;
import com.hy.erp.inventory.service.SupplierService;
import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.entity.AbstractPersistentEntity;
import com.hy.framework.lang.annotation.ImplementsBy;
/**
 * 
 * <ul>
 * <li>开发作者：汤莉</li>
 * <li>设计日期：2010-10-13；时间：下午01:08:57</li>
 * <li>类型名称：ISupplierService</li>
 * <li>设计目的：</li>
 * </ul>
 * <ul>
 * <b>修订编号：</b>
 * <li>修订日期：</li>
 * <li>修订作者：</li>
 * <li>修订原因：</li>
 * <li>修订内容：</li>
 * </ul>
 */
@Local
@ImplementsBy(SupplierService.class)
public interface ISupplierService
									extends
									IBusinessService < ISupplier >
{
	public boolean addSupplier(Supplier supplier);
	
	public Integer removeSupplier(String[] Ids);
	
	public boolean modifySupplier(Supplier supplier);
	public String[] modifySupplier(Object[] objects);
	public List < ISupplier > getSupplierById(String[] id);
	public String [] addSupplier(Object [] objects );
	public List < ISupplier > getAllSupplier();
	
	public List < ISupplier >getSupplierByQueryName(String queryName ,String id);
	public List < ISupplier >getSupplierByQueryName(String queryName ,AbstractPersistentEntity  baseModel);
	
}
